import { Module } from '@nestjs/common';

import { RouterModule } from '@nestjs/core';

import { UserModule } from '../user/user.module';

import { VarTestModule } from './varTest/varTest.module';

const modules = [VarTestModule];

@Module({
  imports: [
    ...modules,
    RouterModule.register([
      {
        path: 'bussiness',
        module: BusinessModule,
        children: [...modules],
      },
    ]),
  ],
  exports: [...modules],
})
export class BusinessModule {}
